<%@ page language="java" contentType=" text/htrnl "
	pageEncoding="ISO-8859-1"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitionall/EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Upload de arquivos</title>
</head>
<body>

	<jsp:useBean id="upl" scope="page" class="beans.UploadBean" />
	<jsp:setProperty name=" upl" property="" value="arquivos" />

	<%
		if (upl.doFilePost(request, application)) {
			out.println(upl.getFilename());
		}
	%>


	<form method="post" action="testeEnvioArquivo.jsp"
		enctype="multipart/form-data">
		Arquivo: <input type="file" name="file" /><br /> <input
			type="submit" name="submit" value="Enviar" />
	</form>



</body>
</html>